<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RowDeletingEventPage.aspx.cs" Inherits="RowDeletingEventPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" OnRowDeleting="GridView1_RowDeleting" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" PageSize="5">
                <Columns>
                    <asp:BoundField DataField="RecruiterID" HeaderText="RecruiterID" />
                    <asp:HyperLinkField DataNavigateUrlFields="RecruiterID" DataNavigateUrlFormatString="~/Details.aspx?RecruiterID={0}"
                        DataTextField="Email" HeaderText="Email">
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:HyperLinkField>
                    <asp:BoundField DataField="CompanyName" HeaderText="Ten Cong Ty">
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:BoundField DataField="ContactName" HeaderText="Lien He">
                        <HeaderStyle HorizontalAlign="Left" />
                    </asp:BoundField>
                    <asp:ButtonField ButtonType="Button" CommandName="Delete" Text="Delete" />
                </Columns>
            </asp:GridView>
        </div>
    
    </div>
    </form>
</body>
</html>
